#pragma once
#include "stdafx.h"

//@tc : this file stores some function that haven't been archived. 

//@tc : returns a vector that is rotated around the origin by theta.
Vector_3D	rotateAroundOrigin(Vector_3D X, Vector_3D W, double theta);
Vector_3D rotateTowardZaxis(Vector_3D X, double theta);
double normal(double );
void normal();
void quicksort(double *, int ,int );


//@tc : find the kth min value the data. Complexity O(N)
double findKthMin(double*, int, int, int);